package com.neuedu.yyzx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 退住登记 
 * </p>
 *
 * @author dya
 * @since 2021-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Back implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @TableId(value = "BACK_ID", type = IdType.AUTO)
    private Integer backId;

    /**
     * 客户姓名
     */
    @TableField("CUSTOMER_NAME")
    private String customerName;

    /**
     * 客户id
     */
    @TableField("CUSTOMER_ID")
    private String customerId;

    /**
     * 性别
     */
    @TableField("CUSTOMER_GENDER")
    private String customerGender;

    /**
     * 年龄
     */
    @TableField("CUSTOMER_AGE")
    private Integer customerAge;

    /**
     * 档案编号
     */
    @TableField("RECORD_ID")
    private String recordId;

    /**
     * 入住时间
     */
    @TableField("CHECKIN_DATE")
    private LocalDate checkinDate;

    /**
     * 退住时间
     */
    @TableField("BACK_DATE")
    private LocalDate backDate;

    /**
     * 退住类型
     */
    @TableField("BACK_TYPE")
    private String backType;

    /**
     * 退住原因
     */
    @TableField("BACK_CAUSE")
    private String backCause;

    /**
     * 状态
     */
    @TableField("STATUS")
    private String status;

    /**
     * 申请时间
     */
    @TableField("APPLY_DATE")
    private LocalDate applyDate;

    /**
     * 审核意见
     */
    @TableField("AUDIT_VIEW")
    private String auditView;

    /**
     * 审核人
     */
    @TableField("AUDIT_PERSON")
    private String auditPerson;

    /**
     * 审核时间
     */
    @TableField("AUDIT_DATE")
    private LocalDate auditDate;

    /**
     * 备注
     */
    @TableField("REMARKS")
    private String remarks;

    /**
     * 是否删除
     */
    @TableField("IS_DELETED")
    private String isDeleted;


}
